package com.xc.freeapp.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xc.freeapp.entity.Vaccine;

public interface VaccineDao {
    public int getremindamount(int  userid);

    int deleteByPrimaryKey(Integer id);

    int insert(Vaccine record);

    int insertSelective(Vaccine record);

    Vaccine selectByPrimaryKey(Integer id);
    
    public   List<Vaccine> selectByVaccineperid(@Param("userid") Integer userid,@Param("vaccineperid")Integer vaccineperid);

    int updateByPrimaryKeySelective(Vaccine record);

    int updateByPrimaryKey(Vaccine record);
    
    
    Vaccine selectByPerIdAndType(Integer vaccineperid,Integer vaccinetype);
}